StoreKeeper\WooCommerce\B2C\Exports\OrderExport D

Total Complexity 140
Dependencies 19
Dependents 9
Total lines 1,062
Lines of code 765
Logical lines of code 382
Comment lines 123
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
processItem()
D
21
32 227
getOrderItems()
B
32 14 115
checkOrderDifference()
A
48 9 31
processPayments()
A
47 8 37
convertWooCommerceToStorekeeperOrderStatus()
A
58 8 18
doProcessRefundsWithoutIds()
S
42 5 59
processRefunds()
S
50 6 30
shouldUpdateStatus()
S
57 6 19
removeSkippedItemsByName()
S
59 6 14
getProductForOrderLine()
S
52 5 25
checkOrderDifferenceBySet()
S
52 5 25
checkOrderDifferenceByExtra()
S
53 5 23
newSkPaymentForWcPayment()
S
54 4 19
syncPaymentToBackend()
S
57 4 17
getPaymentForRefund()
S
61 4 13
fetchShopProductId()
S
59 3 16
cleanExtras()
S
65 4 9
getStorekeeperIdBySku()
S
56 2 20
splitStreetNumber()
S
63 2 12
convertKnownGeneralException()
S
63 2 10
processPaymentsAndRefunds()
S
68 1 7
getFunctionMultiple()
S
82 1 3
isAlreadyLinkedError()
S
78 1 3
getArguments()
S
68 1 7
getMetaFunction()
S
82 1 3
getFunction()
S
82 1 3